Skip to content

Allow the daemonbase::process::Process::Config struct fields to be set directly.#12

Merged
partim merged 3 commits intomainfrom
support-direct-process-creation
Sep 8, 2025
Merged

Allow the daemonbase::process::Process::Config struct fields to be set directly.#12
partim merged 3 commits intomainfrom
support-direct-process-creation

Conversation

@ximon18
Copy link
Member

@ximon18 ximon18 commented Sep 5, 2025

i.e. other than via Clap args or a ConfigFile object.

This is useful when not using the daemonbase config file support but still wanting to daemonize a process.

…t other than via Clap args or a ConfigFile object.
@partim partim merged commit 3f58c89 into main Sep 8, 2025
24 checks passed
@partim partim deleted the support-direct-process-creation branch September 8, 2025 09:46
ximon18 added a commit to NLnetLabs/cascade that referenced this pull request Sep 8, 2025
partim added a commit that referenced this pull request Sep 29, 2025
New

* Reworked setting of user and group. If not provided explicitly, the
  group will now be set to the user’s group. The list of supplemental
  groups will be initialized from the user’s group list. ([#11])
* Allow manually creating the process configuration so it can be used
  without the _clap_ argument parser. ([#12])
* Added support for systemd’s socket activation. ([#13])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants